/*=============================================
=            21. Checkout page            =
=============================================*/
.account-area {

    /*-- Checkout Title --*/
    .checkout-title,
    .login-title {
        font-size: 20px;
        line-height: 23px;
        text-decoration: underline;
        text-transform: capitalize;
        font-weight: 700;
        margin-bottom: 30px;
    }

    /*-- Checkout Form --*/
    .checkout-form,
    .login-form {

        & label {
            display: block;
            font-size: 14px;
            margin-bottom: 12px;
            font-weight: 600;
            text-transform: capitalize;
        }

        & .nice-select {
            width: 100%;
            background-color: transparent;
            border: 1px solid #999999;
            line-height: 23px;
            padding: 10px 20px;
            font-size: 14px;
            height: 45px;
            color: $body-color;
            margin-bottom: 15px;

            &::after {
                width: 6px;
                height: 6px;
                border-width: 1px;
                right: 20px;
                border-color: $body-color;
            }

            & .current {
                color: $body-color;
                display: block;
                line-height: 23px;
            }

            & .list {
                width: 100%;

                & li {}
            }
        }

        & input {
            width: 100%;
            background-color: transparent;
            border: 1px solid #999999;
            line-height: 23px;
            padding: 10px 20px;
            font-size: 14px;
            color: $body-color;
            margin-bottom: 15px;

            &[type="checkbox"] {
                width: auto;
            }
        }

        & .check-box {
            float: left;
            margin-right: 70px;

            &:last-child {
                margin-right: 0;
            }

            & input[type="checkbox"] {
                display: none;

                &+label {
                    position: relative;
                    padding-left: 30px;
                    line-height: 20px;
                    font-size: 14px;
                    font-weight: 400;
                    color: $heading-color;
                    margin: 0;

                    &::before {
                        position: absolute;
                        left: 0;
                        top: 0;
                        width: 20px;
                        height: 20px;
                        display: block;
                        border: 2px solid #999999;
                        content: "";
                        transition: all 0.3s ease 0s;
                    }

                    &::after {
                        position: absolute;
                        left: 0;
                        top: 0;
                        display: block;
                        content: "\f00c";
                        font-family: Fontawesome;
                        font-size: 12px;
                        line-height: 20px;
                        opacity: 0;
                        color: $heading-color;
                        width: 20px;
                        text-align: center;
                        transition: all 0.3s ease 0s;
                    }
                }

                &:checked+label {
                    &::before {
                        border: 2px solid $heading-color;
                    }

                    &::after {
                        opacity: 1;
                    }
                }
            }
        }

    }

    /*-- Shipping Form --*/
    #shipping-form {
        display: none;
    }

    /*-- Checkout Cart Total --*/
    .checkout-cart-total {
        background-color: #f4f4f4;
        padding: 45px;

        // Responsive
        @media #{$small-mobile} {
            padding: 30px;
        }

        & h4 {
            flex-basis: 18px;
            line-height: 23px;
            font-weight: 700;

            &:first-child {
                margin-top: 0;
                margin-bottom: 25px;
            }

            &:last-child {
                margin-top: 15px;
                margin-bottom: 0;
            }

            & span {
                float: right;
                display: block;
            }
        }

        & ul {
            border-bottom: 1px solid #999999;

            & li {
                color: $body-color;
                font-size: 14px;
                line-height: 23px;
                font-weight: 600;
                display: block;
                margin-bottom: 16px;

                & span {
                    color: $heading-color;
                    float: right;
                }
            }
        }

        & p {
            font-size: 14px;
            line-height: 30px;
            font-weight: 600;
            color: #505050;
            padding: 10px 0;
            border-bottom: 1px solid #999999;
            margin: 0;

            & span {
                float: right;
            }
        }
    }

    /*-- Checkout Payment Method --*/
    .checkout-payment-method {
        background-color: #f4f4f4;
        padding: 45px;

        // Responsive
        @media #{$small-mobile} {
            padding: 30px;
        }
    }

    /*-- Single Payment Method --*/
    .single-method {
        margin-bottom: 20px;

        &:last-child {
            margin-bottom: 0;
        }

        & input[type="radio"] {
            display: none;

            &+label {
                position: relative;
                padding-left: 30px;
                line-height: 20px;
                font-size: 14px;
                font-weight: 400;
                color: $heading-color;
                margin: 0;

                &::before {
                    position: absolute;
                    left: 0;
                    top: 0;
                    width: 20px;
                    height: 20px;
                    display: block;
                    border: 2px solid #999999;
                    content: "";
                    transition: all 0.3s ease 0s;
                }

                &::after {
                    position: absolute;
                    left: 5px;
                    top: 5px;
                    display: block;
                    content: "";
                    opacity: 0;
                    background-color: $heading-color;
                    width: 10px;
                    text-align: center;
                    height: 10px;
                    transition: all 0.3s ease 0s;
                }
            }

            &:checked+label {
                &::before {
                    border: 2px solid $heading-color;
                }

                &::after {
                    opacity: 1;
                }
            }
        }

        & input[type="checkbox"] {
            display: none;

            &+label {
                position: relative;
                padding-left: 30px;
                line-height: 20px;
                font-size: 14px;
                font-weight: 400;
                color: $body-color;
                margin: 0;

                &::before {
                    position: absolute;
                    left: 0;
                    top: 0;
                    width: 16px;
                    height: 16px;
                    display: block;
                    border: 2px solid #999999;
                    content: "";
                    transition: all 0.3s ease 0s;
                }

                &::after {
                    position: absolute;
                    left: 4px;
                    top: 4px;
                    display: block;
                    content: "";
                    opacity: 0;
                    background-color: $heading-color;
                    width: 8px;
                    text-align: center;
                    height: 8px;
                    transition: all 0.3s ease 0s;
                }
            }

            &:checked+label {
                &::before {
                    border: 2px solid $heading-color;
                }

                &::after {
                    opacity: 1;
                }
            }
        }

        & p {
            display: none;
            margin-top: 8px;
            font-size: 14px;
            color: $body-color;
            line-height: 23px;
        }
    }

    /*-- Place Order --*/
    .place-order {
        margin-top: 40px;
        width: 140px;
        height: 36px;
        border: none;
        line-height: 24px;
        padding: 6px 20px;
        float: left;
        font-weight: 700;
        text-transform: uppercase;
        color: $white;
        background-color: #666666; 
        border-color: #666666;

        &:hover {
            background-color: $hover-color;
            border-color: $hover-color;
        }
    }

}

/*=====  End of 21. Checkout page  ======*/